package com.acme.bankapp.domain.client;

/**
 * Class contains gender constants
 *
 * @author S.Zhidkov
 */
public enum Gender {
    MALE("Mr."), FEMALE("Ms.");

    private String salutation;

    private Gender(String salutation) {
        this.salutation = salutation;
    }

    /**
     * Method returns salutation string.
     * @return salutation string
     */
    public String getSalutation() {
        return salutation;
    }
}
